Fix for grammar change of keyword "virtual" in tree-sitter-cpp
authorVincenzo Pupillo <v.pupillo@gmail.com>
Sat, 22 Jun 2024 14:22:16 +0000 (16:22 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 22 Jun 2024 18:13:43 +0000 (21:13 +0300)
commit014aab9847a0d3d898cb8cbc7224143f2d741abb
tree1a364076d43128ae85a733398f6ebfd5b8d9e9c5
parentfa364a0d469adcadb77808271b654d5d51953494
Fix for grammar change of keyword "virtual" in tree-sitter-cpp

The new rule works with both the new (>= 0.22.1) and the
old (<= 0.22.0) grammar libraries.

* lisp/progmodes/c-ts-mode.el (c-ts-mode--keywords): Removed
the keyword "virtual".
* lisp/progmodes/c-ts-mode.el (c-ts-mode--font-lock-settings):
New font lock rule. (Bug#71518)
lisp/progmodes/c-ts-mode.el